using System.ComponentModel.DataAnnotations;
using Core.Db.ValidationAttributes;

namespace Core.Db.Dtos;

public class TouristRouteForCreationDto :TouristRouteForManipulationDto //: IValidatableObject
{


    // public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
    // {
    //     if (Title.Equals(Description))
    //     {
    //         yield return new ValidationResult(
    //             "路线名称必须与路线描述不同",
    //             new[] { "TouristRouteForCreationDto" });
    //     }
    // }
}